<div style="clear:both;align:right;"><div class="productPageNav topNav"> 
Page {{pager.currentPage}} of {{pager.maxPage}} &nbsp; 
{% if pager.showPrev %}
  <a href="{{pager.url}}{{pager.prevPage}}" class="btnPre" >Prev</a>
{% endif %}
<span class="pageNav">
{% for p in pager.listPage %}
  {% ifequal p pager.currentPage %}
    <span class="current">{{p}}</span>
  {% else %}
    <a href="{{pager.url}}{{p}}">{{p}}</a>
  {% endifequal %}
{% endfor %}
</span>
{% if pager.showNext %}
  <a href="{{pager.url}}{{pager.nextPage}}" class="btnNext">Next</a>
{% endif %}
</div></div>